Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deadcode checker #472

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

bschimke95
Copy link
Contributor

The deadcode checker doesn't work well with our features setup as it detects non-main feature modules (that are used e.g. in moonray) as unused and blocks the CI.
That checker hasn't really contributed anything useful anyway, so let's just remove it.

@bschimke95 bschimke95 requested a review from a team as a code owner June 5, 2024 11:26
@bschimke95 bschimke95 force-pushed the bschimke95/remove-deadcode-checker branch from bd7f211 to 7cbed27 Compare June 5, 2024 11:31
The deadcode checker doesn't work well with our features setup as it
detects non-main feature modules (that are used e.g. in moonray) as unused
and blocks the CI.
That checker hasn't really contributed anything useful anyway, so let's
just remove it.
@bschimke95 bschimke95 force-pushed the bschimke95/remove-deadcode-checker branch from 7cbed27 to d0e1400 Compare June 5, 2024 11:34
Copy link
Contributor

@louiseschmidtgen louiseschmidtgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bschimke95
Copy link
Contributor Author

Not necessary, we can use Go tags instead: #473

@bschimke95 bschimke95 closed this Jun 6, 2024
@bschimke95 bschimke95 reopened this Jun 6, 2024
@bschimke95
Copy link
Contributor Author

Looks like we do not get around the deadcode checker removal - the tags are only applied on implementation level but e.g. the calico feature is still detected as unused.
https://github.com/canonical/k8s-snap/actions/runs/9397747949/job/25881591582?pr=469

@bschimke95 bschimke95 merged commit b7859b0 into main Jun 6, 2024
28 checks passed
@bschimke95 bschimke95 deleted the bschimke95/remove-deadcode-checker branch June 6, 2024 09:32
eaudetcobello pushed a commit that referenced this pull request Jun 6, 2024
The deadcode checker doesn't work well with our features setup as it
detects non-main feature modules (that are used e.g. in moonray) as unused
and blocks the CI.
That checker hasn't really contributed anything useful anyway, so let's
just remove it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants